package com.itheima.youdianda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.youdianda.domain.YddArticle;
import com.itheima.youdianda.dto.PageDto;
import com.itheima.youdianda.dto.YddArticleDto;

public interface YddArticleService extends IService<YddArticle> {
    PageDto<YddArticleDto> artList(Integer page, String title, Integer limit, Integer cateid, Long start_time, Long end_time);
    void del(Integer id);
    void add(YddArticle yddArticle);
    void updateArticle(YddArticle yddArticle);
    YddArticle yddArticleInfo(Integer id);
}
